package flc.ast.dialog;

import android.content.Context;
import android.text.TextUtils;
import android.view.View;
import android.widget.SeekBar;

import androidx.annotation.NonNull;

import flc.ast.R;
import flc.ast.databinding.DialogProgressStyleBinding;
import stark.common.basic.base.BaseSmartDialog;

/**
 * @Author: XiaoDan
 * @Date: 2023/12/14
 * @Description:
 */
public class ProgressDialog extends BaseSmartDialog<DialogProgressStyleBinding> {
    public String title;
    public SeekBar sbProgress;

    public ProgressDialog(@NonNull Context context) {
        super(context);
    }

    @Override
    protected int getLayoutId() {
        return R.layout.dialog_progress_style;
    }




    @Override
    protected void initView(View view) {
        if (!TextUtils.isEmpty(title)) {
            mDataBinding.tvTitle.setText(title);
        }
        sbProgress = mDataBinding.sbProgress;
    }
}